# -- encoding: utf-8

# 启动django项目的脚本
import os
path = os.path.dirname(os.path.abspath(__file__))
#command = 'python {0}{1}manage.py runserver'.format(path, os.sep)
#command = 'python {0}{1}manage.py makemigrations'.format(path, os.sep)
command = 'python {0}{1}manage.py migrate'.format(path, os.sep)
#command = 'python {0}{1}manage.py startapp app01'.format(path, os.sep)

os.system(command)
